Meta description:
You create a sphere of raging sand storm that obstructs vision.\n\nEvery full meter of sand storm between a creature and its target gives the creature a -1 malus to the test of the action targeting it. This malus is cumulative across the crossed distance and ends when the line between the creature and its target no longer crosses the sand storm, or when the sand storm disappears.
-
Tags:
['complexAction', 'Complex action']['earth', 'Earth'] -
Name:
aSandStorm
-
Displayed name:
Sand storm
-
Description:
You create a sphere of raging sand storm that obstructs vision. Every full meter of sand storm between a creature and its target gives the creature a -1 malus to the test of the action targeting it. This malus is cumulative across the crossed distance and ends when the line between the creature and its target no longer crosses the sand storm, or when the sand storm disappears.
-
Cast description:
| AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: vFluxOrCost.string ➞ vFluxCost.string** | **Range: vRange.string** | On a successful **vTest.string** test **MR vMR.string** [1d20]: Create a sphere of sand storm with a radius of vRadius.string for vDuration.string. Every full meter of sand storm between a creature and its target gives the creature a **-1 malus** to the test of the action targeting it.
-
Condition:
assert(character.sFlux.current >= vFluxCost.value, [[You don't have enough Flux]])
-
AP cost:
4
-
Cooldown:
5
-
Flux cost:
apMod(vAP)*cdMod(vCD)*durMod(vDuration)*vRange*complexMod*sum(dist,1,vRadius,(sphereMod(dist)-sphereMod(dist-1))*effect((vRadius-dist+1)*45,22.5))
-
Variables:
vRadius = NumberVariable([[vRadius]], [[Radius]], [[1]], [[10]], [[1]]) vRadius.valueDisplay.value = [[ self .. " m" ]] vDuration = NumberVariable([[vDuration]], [[Duration]], [[5]], [[60]], [[5]]) vDuration.valueDisplay.value = [[ self .. " s" ]] vRange = ListVariable([[vRange]], [[Range]], {[[mediumMod]]}, {[[10 m]]}) vTest = ListVariable([[vTest]], [[Test]], {[[character.sResilience]]}, {[[Resilience]]}) vMR = StatVariable([[vMR]], [[vTest]])
-
On used script:
character.sFlux:changeCurrent(-vFluxCost.value) action.currentCD:set(vCD.value)
-
Type:
1
-
Action effects:
-
Use case:
1
-
Name:
Sand storm sphere
-
Description:
-
Script:
effect = character:createEffect([[mSandStormSphere]]) effect.displayName:set([[Sand storm sphere]]) effect.description:set([[A sphere of sand storm with a radius of {{vRadius.string}} obstructs vision. Every full meter of sand storm between a creature and its target gives the creature a -1 malus to the test of the action targeting it.]]) effect.duration:set({{vDuration.value}}) effect:activate()
-
Variables:
-